package com.tinyideatech.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tinyideatech.common.core.entity.BaseEntity;
import lombok.Data;

@Data
@TableName("sys_menu")
public class SysMenu extends BaseEntity {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId
    private Long menuId;
    private String menuName;
    private Long parentId;
    private String menuSort;
    private String url;
    private String target;
    private String menuType;  // 类型:0目录,1菜单,2按钮
    private String visible;
    private String perms;

    @TableField(exist = false)
    private String parentName;
}
